package com.itheima.reggie.service;


import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.Page;
import com.itheima.reggie.entity.PageBean;


public interface OrderService {

    

    /**
     * 作用:下单
     * @return
     */
    void submit(Orders orders, Long userId);


    PageBean<OrdersDto> userPage(Integer page, Integer pageSize);


    Page<Orders> findByNumberAndTime(Integer page, Integer pageSize, String number, String beginTime, String endTime);


    void again(Orders orders, Long userId);


}
